\documentclass[a4paper]{book}

\usepackage[left=3.81cm, right=2.54cm, top=2.54cm, bottom=3.17cm]{geometry}
\usepackage[T1]{fontenc} 
%\usepackage[spanish, activeacute]{babel}
\usepackage[latin1]{inputenc} %Letras con acentos, enies.
%\usepackage[spanish]{babel}
%\usepackage{amssymb}
%\usepackage{amsmath}
%\usepackage{amsthm} % theorems
\usepackage{enumerate}
\usepackage{epsfig}
\usepackage{multirow}
\usepackage{wrapfig}

\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,automata,positioning,fit}
\usepackage{relsize}

\usepackage{url}
\usepackage{verbatim}
\usepackage{array}
\usepackage{todo}
\usepackage{fixme}
\usepackage{xspace}
\usepackage{ifthen}

\usepackage{pdfpages}

\renewcommand{\listtablename}{Indice de Tablas}
\renewcommand{\tablename}{Tabla}

% Sin sangria
%\parindent=0mm  

% Espacio entre parrafos
%\parskip=4mm

% Dialogue template
\newenvironment{dialogue}%
   {\begin{it}%
    \begin{list}{}%
         {\setlength{\leftmargin}{.3cm}}%
         \item[]}%
   {\end{list}%
    \end{it}}

%\usetikzlibrary{automata}
%\usepackage{floatrow}
%\DeclareFloatFont{tiny}{\tiny}% "scriptsize" is defined by floatrow, "tiny" not
%\floatsetup[table]{font=tiny}

\usepackage{algorithm}
\usepackage{algorithmic}

\newcommand{\tup}[1]{\langle #1 \rangle}
\newcommand{\puse}{\ensuremath{\textsf{p}_\textit{use}}}
\newcommand{\randomuse}{\ensuremath{\textsf{rnd}_\emph{use}}\xspace}
\newcommand{\incuse}{\ensuremath{\textsf{inc}_\emph{use}}\xspace}
\newcommand{\RE}{\textsf{RE}\xspace}
\newcommand{\REL}{\textsf{REL}\xspace}
\newcommand{\IR}{\textrm{I}\!\textrm{R}}
\newcommand{\gM}{\mathcal{M}}
\newcommand{\el}{\ensuremath{\mathcal{EL}}\xspace}
\newcommand{\interp}[1]{|\!|#1|\!|}


\newcommand{\nBlue}{\textsf{blue}\xspace}
\newcommand{\nGreen}{\textsf{green}\xspace}
\newcommand{\nSmall}{\textsf{small}\xspace}
\newcommand{\nBig}{\textsf{big}\xspace}
\newcommand{\nRed}{\textsf{red}\xspace}
\newcommand{\nYellow}{\textsf{yellow}\xspace}
\newcommand{\nBall}{\textsf{ball}\xspace}
\newcommand{\nCube}{\textsf{cube}\xspace}
\newcommand{\nOntop}{\textsf{ontop}\xspace}
\newcommand{\nTop}{\textsf{top}\xspace}
\newcommand{\nBelow}{\textsf{below}\xspace}
\newcommand{\nRightof}{\textsf{rightof}\xspace}
\newcommand{\nLeftof}{\textsf{leftof}\xspace}
\newcommand{\nLeft}{\textsf{left}\xspace}




\begin{document}

% PARTE PRELIMINAR
%\input{preliminar/preliminar}

\frontmatter % Numeros de paginas con numeros romanos

\include{portada}
%\include{preliminar/evaluadores}
\newpage
\mbox{}
\include{dedicatoria}
\newpage
\mbox{}
\include{resumen}
%\usepackage[spanish]{babel}
%\usepackage[latin1]{inputenc} %Letras con acentos, enies.
\tableofcontents
%\include{prefacio} --- Esto es opcional, no es necesario
%\include{agradecimientos} Esto se hace al final
%\include{resumen} Esto se hace al final

% PARTE PRINCIPAL

\mainmatter % Comienza la numeracion de paginas con numeros arabicos

%\begin{comment}

\include{1_intro} %trabajo previo

\include{2_seleccion}

\include{3_metodologia}

\include{4_algoritmo}

\include{5_corpus}

\include{6_evaluacion}

\include{7_conclusiones}
\vskip 0.2in
%\bibliographystyle{apa} %es mas linda pero da errores
\bibliographystyle{plain}
\bibliography{bibliografia}

\end{document}

